﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FieldHost {
	public class PlantDecision {
		
		public PlantDecision() {
			Produce = new MetaField<int> {
			};

			ConstructCapacity = new MetaField<int> {
			};

			ClearCapacity = new MetaField<int> {
				MinValue = 100,
				MaxValue = 9999,
				IsBoundCheckActive = true
			};

			Schedule = new MetaField<int> {
			};

			CostReduction = new MetaField<int> {
				MinValue = 0,
				MaxValue = 50000,
				IsBoundCheckActive = true

			};

			Umc = new MetaField<double> {
				MinValue = 0
			};
		}

		/// <summary>
		/// Number of units to produce the current period
		/// </summary>
		public MetaField<int> Produce {
			get;
			private set;
		}

		/// <summary>
		/// Number of units you may produce for the next period
		/// </summary>
		public MetaField<int> ConstructCapacity {
			get;
			private set;
		}

		/// <summary>
		/// 
		/// </summary>
		public MetaField<int> ClearCapacity {
			get;
			private set;
		}

		/// <summary>
		/// 
		/// </summary>
		public MetaField<int> Schedule {
			get;
			private set;
		}

		/// <summary>
		/// Reduced cost per unit production
		/// </summary>
		public MetaField<int> CostReduction {
			get;
			private set;
		}

		/// <summary>
		/// Unit Manufactoring Cost
		/// </summary>
		public MetaField<double> Umc {
			get;
			private set;
		}
	}
}
